basic calculations for beginners